package com.fangcun.mapper;

import java.util.List;

import com.fangcun.bean.api.floor.request.FloorDetailRequest;
import com.fangcun.bean.api.floor.request.FloorRoomSearchRequest;
import com.fangcun.bean.api.floor.response.FloorRoomDetailResponse;
import com.fangcun.bean.api.floor.response.FloorRoomResponse;
import com.fangcun.entity.FloorRoom;

public interface FloorRoomMapper {
	int deleteByPrimaryKey(Long id);

	int insert(FloorRoom record);

	int insertSelective(FloorRoom record);

	FloorRoom selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(FloorRoom record);

	int updateByPrimaryKey(FloorRoom record);

	List<FloorRoomResponse> selectByTeahouseIdAndTime(FloorRoomSearchRequest request);

	FloorRoomDetailResponse selectByIdAndTime(FloorDetailRequest request);

}